package com.lykj.modules.shop.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class UserBillExcel implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 订单编号
	 */
	@ExcelProperty(value = "账单ID")
	private String id;
	/**
	 * 用户ID
	 */
	@ExcelProperty(value = "用户ID")
	private String userId;
	/**
	 * 用户账号
	 */
	@ExcelProperty(value = "用户账号")
	private String account;
	/**
	 * uid
	 */
	@ExcelProperty(value = "用户编号")
	private String uid;

	/**
	 * 对方用户ID（转账用）
	 */
	@ExcelProperty(value = "对方用户ID（转账用）")
	private String otherUserId;
	/**
	 * 关联ID
	 */
	@ExcelProperty(value = "关联ID")
	private String linkId;
	/**
	 * 方向0支出，1收入
	 */
	@ExcelProperty(value = "方向0支出，1收入")
	private Integer pm;
	/**
	 * 账单标题
	 */
	@ExcelProperty(value = "账单标题")
	private String title;
	/**
	 * 明细种类
	 */
	@ExcelProperty(value = "明细种类")
	private Integer category;
	/**
	 * 明细类型
	 */
	@ExcelProperty(value = "明细类型")
	private Integer type;
	/**
	 * 明细数字
	 */
	@ExcelProperty(value = "明细数字")
	private BigDecimal number;
	/**
	 * 手续费
	 */
	@ExcelProperty(value = "手续费")
	private BigDecimal service;
	/**
	 * 实际数字
	 */
	@ExcelProperty(value = "实际数字")
	private BigDecimal actual;
	/**
	 * 账户余额
	 */
	@ExcelProperty(value = "账户余额")
	private BigDecimal balance;
	/**
	 * 备注
	 */
	@ExcelProperty(value = "备注")
	private String remark;
	/**
	 * 众鸟交易ID
	 */
	@ExcelProperty(value = "众鸟交易ID")
	private String znId;

	/**
	 * 时间
	 */
	@ExcelProperty(value = "时间")
	private String createTime;
}
